;Edit *.DXF files
;
(defun c:eddat ( / )
  (setq edfil (getfiled "Edit Text File" (GETVAR"DWGPREFIX") "dXF" 4))
  (if (= 1 edfil)
    (setq edstr "NE UNNAMED.DXF")
    (setq edstr (strcat "NE " edfil))
  );IF
  (command ".sh" edstr)
);defun